<?php if(isset($Special_Specifications) and ($Special_Specifications))
				{
					echo "<div class='single_border_window'>";
				foreach($Special_Specifications as $Special_ATTRGRP)
					{
				?>
<style type="text/css">
.add_add_input {
	width:40%;
	float:left;
}
.add_add_input1 {
	width:60%;
	float:left;
}
.add_add_input1 span.gray_comment {
	width:auto;
	float:right;
	color:#F00;
}
.mws-form-row.masterlabel {
	float: left;
	margin: 10px 0;
	width: 44%;
}
</style>
<div class="mws-form-row mastersellers">
     <div class="mws-form-item small">
          <?php
								echo $this->Form->input('', array(
								'type' => 'text',
								'class' => 'mws-textinput',
								'label' => false,
								'id'=>'gb1',
								'disabled'=>'disabled',
								'value'=>$Special_ATTRGRP['AttrGroup']['name'],
								));
								?>
          <?php
								echo $this->Form->input('Product.Groupattribute', array(
								'type' => 'hidden',
								'id'=>'gb2',
								'class' => 'mws-textinput',
								'label' => false,
								'value'=>$Special_ATTRGRP['AttrGroup']['id'],
								));
								?>
     </div>
</div>
<?php 
							if(isset($Special_ATTRGRP['AttrGroup']['Attributes']) and ($Special_ATTRGRP['AttrGroup']['Attributes']))
							{
							?>
<div class="editable_addattr mastersellers">
     <div class="mws-form-row" style="width:100%;">
          <div class="mws-form-item small "> <span id="editable_ajaxAttr" style=" float:left; width:auto;">
               <?php
			foreach($Special_ATTRGRP['AttrGroup']['Attributes'] as $arrbute)
							{
								
			
								?>
               <div id="ATTR<?php echo $arrbute['Attribute']['id']; ?>">
                    <div class="mws-form-row masterlabel">
                         <label>Selected Attribute:</label>
                         <div class="mws-form-item small">
                              <input type="text" readonly="readonly" 
	value="<?php echo $arrbute['Attribute']['name']; ?>" class="mws-textinput">
                              <input type="hidden" name="data[Product][Attr][<?php echo $arrbute['Attribute']['id']; ?>][id]"
     value="<?php //echo $specification['Specification']['id']; ?>" style="width:100px;">
                              <input type="hidden" name="data[Product][Attr][<?php echo $arrbute['Attribute']['id']; ?>][attribute]"
     value="<?php echo $arrbute['Attribute']['id']; ?>" style="width:100px;">
                              <input type="hidden" name="data[Product][Attr][<?php echo $arrbute['Attribute']['id']; ?>][key]" value="<?php echo $arrbute['Attribute']['name']; ?>" class="sd">
                         </div>
                    </div>
                    <div class="mws-form-row masterlabel">
                         <label>Attribute Value:</label>
                         <div class="mws-form-item small">
                              <div class="input text">
                                   <?php if(isset($arrbute['Attribute']['required']) and ($arrbute['Attribute']['required']==1)){
								  
								  		$requred = "required='required'";
										$show_required = "Required";
								  }
								  else
								  {
									  $requred = "";
									  $show_required = "optional";
								  }
								  ?>
                                   <input type="text" 
	name="data[Product][Attr][<?php echo $arrbute['Attribute']['id']; ?>][attr_value]"
	<?php echo  $requred; ?> value="<?php //echo $specification['Specification']['value']; ?>" class="mws-textinput"
	id="ProductAttrValue" style="width:306px;">
                                   (<?php echo $show_required ; ?>) </div>
                         </div>
                    </div>
               </div>
               <div style="clear:both;" class="clear"></div>
               <?php
								
							}
							?>
               </span> </div>
     </div>
</div>
<?php
							}
							?>
<div class='clear' style='clear:both;'></div>
<?php
					}
					echo "</div>";
				}
		/*else{*/
			?>
<!--<div class="def_width_100 " id="ATTR13378452103775">
     <div class="mws-form-row add_add_input">
          <div class="mws-form-item small">
               <input type="text" style=" width:200px;" readonly="readonly" value="Item Shape" class="mws-textinput">
               <input type="hidden" name="data[Product][Attr][5][attribute]" value="5" style="width:100px;">
               <input type="hidden" name="data[Product][Attr][5][key]" value="Item Shape" class="sd">
          </div>
     </div>
     <div class="mws-form-row add_add_input1">
          <div class="mws-form-item small">
               <div class="input text">
                    <input type="text" name="data[Product][Attr][5][attr_value]" value="" required="required" class="mws-textinput" id="ProductAttrValue" style="width:280px;">
                    <span class="gray_comment">(Required)</span> </div>
          </div>
     </div>
</div>
<div style="clear:both;" class="clear"></div>
</span>-->